package cn.liutao.auth.entity.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author: liutao
 * @description: 充值参数
 * @date: 2023/12/1 9:26
 */
@Data
public class ExchangeParam {
    @NotNull(message = "请选择用户")
    private Integer userId;
    @NotNull(message = "请输入充值的金额")
    private BigDecimal amount;
    @NotBlank(message = "请输入管理员账号密码")
    private String password;
}
